package com.hongli.blog.mapper;

import com.hongli.blog.entity.AuthorityDao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface Authoritymapper {

    List<AuthorityDao> SelectAllAuthority();

    AuthorityDao SelectAuthorityName(@Param("authorityname") String authorityname);

    void InsertAuthority(@Param("authorityname") String authorityname, @Param("subclass") int subclass);
}
